package com.servlet.ihm;

import java.io.IOException;

import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class Login extends HttpServlet
{

	public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
	{
		//on indique a la page quelle page elle doit charger
		request.setAttribute("page", new String("login"));
		RequestDispatcher dispatch = request.getRequestDispatcher("jsp/pageLogin.jsp");
		dispatch.forward(request, response);
	}
}
